home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmAddToPostFromList.z / XmAddToPostFromList
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmAAAAddddddddTTTTooooPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt((((3333XXXX))))   UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV   XXXXmmmmAAAAddddddddTTTTooooPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmAAAAddddddddTTTTooooPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt - a RowColumn function that makes a menu
  10.           accessible from more than one widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/RowColumn.h>
  14.  
  15.           vvvvooooiiiidddd XXXXmmmmAAAAddddddddTTTTooooPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt(
  16.           WWWWiiiiddddggggeeeetttt mmmmeeeennnnuuuu,
  17.           WWWWiiiiddddggggeeeetttt ppppoooosssstttt____ffffrrrroooommmm____wwwwiiiiddddggggeeeetttt);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmAAAAddddddddTTTTooooPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt makes a menu accessible from more than
  24.           one widget. After a menu is once created, this function may
  25.           be used to make that menu accessible from a second widget.
  26.           The process may be repeated indefinitely. In other words,
  27.           where an application would use XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppMMMMeeeennnnuuuu or
  28.           XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu or their equivalent to create a new
  29.           menu identical to one that already exists, it can use this
  30.           function to reuse that earlier menu.
  31.  
  32.           If _m_e_n_u refers to a Popup menu, then the
  33.           _p_o_s_t__f_r_o_m__w_i_d_g_e_twidget can now pop up the specified menu.
  34.           The actual posting of the menu occurs as it always does,
  35.           either through an event handler, or the automatic popup menu
  36.           support (see the XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3) reference page).
  37.  
  38.           If _m_e_n_u refers to a Pulldown menu, its ID is placed in the
  39.           XXXXmmmmNNNNssssuuuubbbbMMMMeeeennnnuuuuIIIIdddd resource of the specified _p_o_s_t__f_r_o_m__w_i_d_g_e_t.  In
  40.           this case, the _p_o_s_t__f_r_o_m__w_i_d_g_e_t widget must be either a
  41.           CascadeButton or a CascadeButtonGadget.
  42.  
  43.           Note that this function manipulates the internal structures
  44.           themselves, not a copy of them.
  45.  
  46.           _m_e_n_u      Specifies the ID of the RowColumn widget
  47.                     containing the menu (Popup or Pulldown) to be made
  48.                     accessible from the widget.
  49.  
  50.           _p_o_s_t__f_r_o_m__w_i_d_g_e_t
  51.                     Specifies the widget ID of the widget which will
  52.                     now be able to post the menu specified by _m_e_n_u.
  53.  
  54.           For a complete definition of RowColumn and its associated
  55.           resources, see XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD
  58.           XXXXmmmmGGGGeeeettttPPPPoooosssstttteeeeddddFFFFrrrroooommmmWWWWiiiiddddggggeeeetttt(3), XXXXmmmmRRRReeeemmmmoooovvvveeeeFFFFrrrroooommmmPPPPoooossssttttFFFFrrrroooommmmLLLLiiiisssstttt(3), and
  59.           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.